export default {
  /** 打賞 */
  reward: { method: 'post', url: '/api/home/reward' },

  /** 輪詢打賞結果 */
  checkReward: { method: 'post', url: '/api/home/rewardCheck' },

  /** 訂閱 */
  subscribe: { method: 'post', url: '/api/home/subscribe' },

  /** 輪詢訂閱結果 */
  checkSubscribe: { method: 'post', url: '/api/home/checkSubscribePay' },

  /** 購買商品 */
  shopBuy: { method: 'post', url: '/api/home/shopBuy' },

  /** 輪詢商品結果 */
  checkShopBuy: { method: 'post', url: '/api/home/shopCheckBuy' },

  /** 解鎖全部 */
  unlockAll: { method: 'post', url: '/api/member/unlockAll' },

  /** 輪詢解鎖全部結果 */
  checkUnlockAll: { method: 'post', url: '/api/member/unlockCheckBuy' },

  /** 聊天購買打包商品 or 優惠訂閱 */
  chatBuy: { method: 'post', url: '/api/pay/imsale' },

  /** 輪詢聊天購買結果 */
  checkChatBuy: { method: 'post', url: '/api/pay/imcheck' },

  /** 購買 Premium */
  premium: { method: 'post', url: '/api/home/vipBuy' },

  /** 輪詢 Premium 購買結果 */
  checkPremium: { method: 'post', url: '/api/home/vipCheckBuy' },

  /** 取得目前金流與金流Group */
  getAllPayment: { method: 'post', url: '/api/config/getPayTypeWithId' },

  /** 获取visa支付信息 */
  getStripeKey: { method: 'post', url: '/api/member/getPaymentInfo' },

  /** 獲取信用卡卡片列表 */
  getPaymentMethods: { method: 'post', url: '/api/member/getPaymentMethods' },

  /** 删除绑定卡片信息 */
  delPaymentMethod: { method: 'post', url: '/api/member/delPaymentMethod' },

  /** visa无session支付 */
  offSessionPay: { method: 'post', url: '/api/member/offSessionPay' },

  /** 檢查支付結果 */
  checkPayResult: { method: 'post', url: '/api/member/checkPayment' },

  /** 綁定預設支付方式 */
  bindDefaultPayment: { method: 'post', url: '/api/member/bindDefaultPayment' },
}
